<?php
// +----------------------------------------------------------------------
// | INPHP
// | Copyright (c) 2023 https://inphp.cc All rights reserved.
// | Licensed ( https://opensource.org/licenses/MIT )
// | Author: 幺月儿(https://gitee.com/lulanyin) Email: inphp@qq.com
// +----------------------------------------------------------------------
// | 后台配置
// +----------------------------------------------------------------------
return [
    "extUrl"    => "./admin",
    //菜单，该处使用
    "menus"     => [
        ["name" => "账户管理", "icon" => "fa-regular fa-address-book", "admin" => true, "url" => "./admin/user/list"],
        ["name" => "分组/权限", "icon" => "fa-regular fa-users", "admin" => true, "url" => "./admin/user/group-list"],
        ["name" => "标签管理", "icon" => "fa-regular fa-tags", "admin" => true, "url" => "./admin/user/label-list"],
        ["name" => "短信", "icon" => "fa-regular fa-comment-sms", "admin" => true, "subMenu" => [
            ["name" => "短信记录", "icon" => "fa-regular fa-list", "url" => "./admin/sms/list"],
            ["name" => "短信配置", "icon" => "fa-regular fa-gear", "url" => "./admin/sms/config"]
        ]],
        ["name" => "授权", "icon" => "fa-regular fa-at", "admin" => true, "subMenu" => [
            ["name" => "授权记录", "icon" => "fa-regular fa-list", "url" => "./admin/auth/list"],
            ["name" => "授权配置", "icon" => "fa-regular fa-gear", "url" => "./admin/auth/config"]
        ]],
        ["name" => "第三方", "icon" => "fa-regular fa-bolt", "admin" => true, "subMenu" => [
            ["name" => "插件管理", "icon" => "fa-regular fa-list", "url" => "./admin/third-party/list"],
            ["name" => "APPID", "icon" => "fa-brands fa-app-store", "url" => "./admin/third-party/app-list"]
        ]]
    ]
];